package com.slmxz.tms.document.enums;

import com.slmxz.tms.common.base.IBaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

/**
 * 性别枚举
 * @author sunyao
 * @Date 2024/10/26
 */
@Getter
@Schema(enumAsRef = true)
public enum LocationTypeEnum implements IBaseEnum<Integer> {

    LODDING_PLACE(1, "发货地"),
    DISCHARGE_PLACE (2, "收货地"),
    ALL_PLACE(3, "收发地"),;

    private final Integer value;

    private final String label;

    LocationTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
